package org.crumbleworks.crumbcrane.crate;

import org.crumbleworks.crumbcrane.entity.Entity2D;

public abstract class Crate extends Entity2D {
	//TODO perhaps move to an other class
//	protected final double WIDTH = 25;
//	protected double WIDTH_FACTOR = 1;
//	
//	protected final double HEIGHT = 25;
//	protected double HEIGHT_FACTOR = 1;
	
	private int hitPoints;
	private int damagePoints;
	
	public Crate(double x, double y, double width, double height, double r, double g, double b, int hitPoints, int damagePoints) {
		super(x, y, width, height, r, g, b);
		
		this.hitPoints = hitPoints;
		this.damagePoints = damagePoints;
	}

	/**
	 * @return the hitPoints
	 */
	public int getHitPoints() {
		return hitPoints;
	}

	/**
	 * @param hitPoints the hitPoints to set
	 */
	public void setHitPoints(int hitPoints) {
		this.hitPoints = hitPoints;
	}

	/**
	 * @return the damagePoints
	 */
	public int getDamagePoints() {
		return damagePoints;
	}

	/**
	 * @param damagePoints the damagePoints to set
	 */
	public void setDamagePoints(int damagePoints) {
		this.damagePoints = damagePoints;
	}
}
